const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/ie",
  name: "Ie",
  component: Layout,
  redirect: "/en",
  meta: {
    icon: "entypo:flow-tree",
    title: "命名实体识别",
    rank: 10
  },
  children: [
    {
      // e:提取；n:命名实体
      path: "/rule",
      name: "Rule",
      component: () => import("@/views/ie/rule.vue"),
      meta: {
        title: "定义规则"
      }
    },
    {
      // e:提取；n:命名实体
      path: "/ner",
      name: "Ner",
      component: () => import("@/views/ie/index.vue"),
      meta: {
        title: "信息抽取"
      }
    },
    {
      path: "/histroy",
      name: "Histroy",
      component: () => import("@/views/ie/history.vue"),
      meta: {
        title: "抽取历史"
      }
    }
  ]
} satisfies RouteConfigsTable;
